package com.ruoyi.service.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 院方账号表对象 service_nurse
 * 
 * @author ZDL
 * @date 2024-11-19
 */
public class ServiceNurse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 护士表主键ID */
    private Long nurseId;

    /** 工号 */
    @Excel(name = "工号")
    private String nurseCode;

    /** 姓名 */
    @Excel(name = "姓名")
    private String nurseName;

    /** 电话号码/账号 */
    @Excel(name = "电话号码/账号")
    private String nurseTelephonenumber;

    /** 密码 */
    @Excel(name = "密码")
    private String nursePassword;

    /** 职称 */
    @Excel(name = "职称")
    private String nurseTitle;

    /** 所属病区ID */
    @Excel(name = "所属病区ID")
    private Long nurseWardid;

    /** 护士角色ID */
    @Excel(name = "护士角色ID")
    private Long nurseRoleid;

    /** 用户类型（00系统用户） */
    @Excel(name = "用户类型", readConverterExp = "0=0系统用户")
    private String nurseType;

    /** 用户性别（0男 1女 2未知） */
    @Excel(name = "用户性别", readConverterExp = "0=男,1=女,2=未知")
    private String nurseSex;

    /** 头像地址 */
    @Excel(name = "头像地址")
    private String nurseAvatar;

    /** 最后登录IP */
    @Excel(name = "最后登录IP")
    private String nurseLoginIp;

    /** 最后登录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后登录时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date nurseLoginDate;

    /** 创建者 */
    @Excel(name = "创建者")
    private String nurseCreateBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date nurseCreateTime;

    /** 更新者 */
    @Excel(name = "更新者")
    private String nurseUpdateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date nurseUpdateTime;

    /** 启用标志（0代表启用 2代表不启用） */
    @Excel(name = "启用标志", readConverterExp = "0=代表启用,2=代表不启用")
    private String nurseUseFlag;

    /** 删除标志（0代表存在 2代表删除） */
    @Excel(name = "删除标志", readConverterExp = "0=代表存在,2=代表删除")
    private String nurseDelFlag;

    /** 备注 */
    @Excel(name = "备注")
    private String nurseRemark;

    public void setNurseId(Long nurseId) 
    {
        this.nurseId = nurseId;
    }

    public Long getNurseId() 
    {
        return nurseId;
    }
    public void setNurseCode(String nurseCode) 
    {
        this.nurseCode = nurseCode;
    }

    public String getNurseCode() 
    {
        return nurseCode;
    }
    public void setNurseName(String nurseName) 
    {
        this.nurseName = nurseName;
    }

    public String getNurseName() 
    {
        return nurseName;
    }
    public void setNurseTelephonenumber(String nurseTelephonenumber) 
    {
        this.nurseTelephonenumber = nurseTelephonenumber;
    }

    public String getNurseTelephonenumber() 
    {
        return nurseTelephonenumber;
    }
    public void setNursePassword(String nursePassword) 
    {
        this.nursePassword = nursePassword;
    }

    public String getNursePassword() 
    {
        return nursePassword;
    }
    public void setNurseTitle(String nurseTitle) 
    {
        this.nurseTitle = nurseTitle;
    }

    public String getNurseTitle() 
    {
        return nurseTitle;
    }
    public void setNurseWardid(Long nurseWardid) 
    {
        this.nurseWardid = nurseWardid;
    }

    public Long getNurseWardid() 
    {
        return nurseWardid;
    }
    public void setNurseRoleid(Long nurseRoleid) 
    {
        this.nurseRoleid = nurseRoleid;
    }

    public Long getNurseRoleid() 
    {
        return nurseRoleid;
    }
    public void setNurseType(String nurseType) 
    {
        this.nurseType = nurseType;
    }

    public String getNurseType() 
    {
        return nurseType;
    }
    public void setNurseSex(String nurseSex) 
    {
        this.nurseSex = nurseSex;
    }

    public String getNurseSex() 
    {
        return nurseSex;
    }
    public void setNurseAvatar(String nurseAvatar) 
    {
        this.nurseAvatar = nurseAvatar;
    }

    public String getNurseAvatar() 
    {
        return nurseAvatar;
    }
    public void setNurseLoginIp(String nurseLoginIp) 
    {
        this.nurseLoginIp = nurseLoginIp;
    }

    public String getNurseLoginIp() 
    {
        return nurseLoginIp;
    }
    public void setNurseLoginDate(Date nurseLoginDate) 
    {
        this.nurseLoginDate = nurseLoginDate;
    }

    public Date getNurseLoginDate() 
    {
        return nurseLoginDate;
    }
    public void setNurseCreateBy(String nurseCreateBy) 
    {
        this.nurseCreateBy = nurseCreateBy;
    }

    public String getNurseCreateBy() 
    {
        return nurseCreateBy;
    }
    public void setNurseCreateTime(Date nurseCreateTime) 
    {
        this.nurseCreateTime = nurseCreateTime;
    }

    public Date getNurseCreateTime() 
    {
        return nurseCreateTime;
    }
    public void setNurseUpdateBy(String nurseUpdateBy) 
    {
        this.nurseUpdateBy = nurseUpdateBy;
    }

    public String getNurseUpdateBy() 
    {
        return nurseUpdateBy;
    }
    public void setNurseUpdateTime(Date nurseUpdateTime) 
    {
        this.nurseUpdateTime = nurseUpdateTime;
    }

    public Date getNurseUpdateTime() 
    {
        return nurseUpdateTime;
    }
    public void setNurseUseFlag(String nurseUseFlag) 
    {
        this.nurseUseFlag = nurseUseFlag;
    }

    public String getNurseUseFlag() 
    {
        return nurseUseFlag;
    }
    public void setNurseDelFlag(String nurseDelFlag) 
    {
        this.nurseDelFlag = nurseDelFlag;
    }

    public String getNurseDelFlag() 
    {
        return nurseDelFlag;
    }
    public void setNurseRemark(String nurseRemark) 
    {
        this.nurseRemark = nurseRemark;
    }

    public String getNurseRemark() 
    {
        return nurseRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("nurseId", getNurseId())
            .append("nurseCode", getNurseCode())
            .append("nurseName", getNurseName())
            .append("nurseTelephonenumber", getNurseTelephonenumber())
            .append("nursePassword", getNursePassword())
            .append("nurseTitle", getNurseTitle())
            .append("nurseWardid", getNurseWardid())
            .append("nurseRoleid", getNurseRoleid())
            .append("nurseType", getNurseType())
            .append("nurseSex", getNurseSex())
            .append("nurseAvatar", getNurseAvatar())
            .append("nurseLoginIp", getNurseLoginIp())
            .append("nurseLoginDate", getNurseLoginDate())
            .append("nurseCreateBy", getNurseCreateBy())
            .append("nurseCreateTime", getNurseCreateTime())
            .append("nurseUpdateBy", getNurseUpdateBy())
            .append("nurseUpdateTime", getNurseUpdateTime())
            .append("nurseUseFlag", getNurseUseFlag())
            .append("nurseDelFlag", getNurseDelFlag())
            .append("nurseRemark", getNurseRemark())
            .toString();
    }
}
